package com.web.util;

import java.util.Comparator;
import java.io.File;
public class SortByTimeComparator implements Comparator<File> {

	@Override
	public int compare(File o1, File o2) {
		return new Long(o1.lastModified()).compareTo(new Long(o2.lastModified()));
	}



}
